package com.freesky.biz.activity.service;

import com.freesky.biz.activity.domain.TActivityConfig;
import com.freesky.biz.activity.domain.TActivityConfigRules;
import com.freesky.biz.activity.domain.TAssignCoupon;
import com.freesky.biz.activity.domain.TProject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 项目管理 服务层
 *
 * @author freesky
 */
public interface IProjectService {

    public TProject get(String id);

    public List<TProject> findList(TProject entity);

    public TProject selectSummaryData(TProject entity);

    public int selectCouponCount(String projectId);

    public boolean checkProjectNameUnique(TProject entity);

    public int insert(TProject entity);

    public int update(TProject entity);

    public int deleteByIds(String[] ids);

    public List<TAssignCoupon> selectCouponList(TAssignCoupon assignCoupon);

    public int assignCoupon(TAssignCoupon entity);

    public int unAssignCoupon(TAssignCoupon entity);
}
